import mitt from 'mitt'

type Events = {
  addLog?: null
  rollback?: null
  scroll?: any
}

const pageEmitter = mitt<Events>()

export default pageEmitter
